//
//  DataBaseHandle.h
//  UI SQLite数据库
//
//  Created by dllo on 16/1/11.
//  Copyright (c) 2016年 lanou. All rights reserved.
//

#import <Foundation/Foundation.h>
@class CollectModel;
@interface DataBaseHandle : NSObject
+(instancetype)shareDataBaseHandle;
-(void)open;
-(NSInteger)createTable;
-(void)insertCollect:(CollectModel *)collect;
//-(void)updateCollect:(CollectModel *)collect number:(NSInteger)number;
-(void)deleteWithCode:(NSString *)code;
-(NSMutableArray *)select;
-(BOOL)select:(CollectModel *)collect;

//-(void)dropTable;
//-(void)closeDB;
@end
